package com.example.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.custom.BaseService;
import com.example.demo.entity.TargetAndBackMonkey;
import com.example.demo.repository.TargetAndBackMonkeyRepository;
@Service
public class TargetAndBackMonkeyService extends BaseService<TargetAndBackMonkey,Integer>{
	
	@Autowired
	private TargetAndBackMonkeyRepository tDao;
	
	public TargetAndBackMonkey findByMonthAndYears(Integer month,Integer years) {
		return tDao.findByMonthAndYears(month, years);
	}
	
}
